<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<p>&nbsp;</p>
<table width="200" border="0" align="center">
  <tr>
    <td align="center">用户信息修改</td>
  </tr>
</table>
<p>&nbsp;</p>
<form name="form1" method="post" action="user.do?method=editUser">
  <table width="361" border="0" align="center">
    <tr>
      <td width="162" align="right">&#29992;&#25143;&#21517;</td>
      <td width="189"><label for="textfield"></label>
      <input name="name" type="text" id="textfield" size="13"></td>
    </tr>
    <tr>
      <td align="right">&#23494;&#30721;</td>
      <td><label for="textfield2"></label>
      <input name="password" type="text" id="textfield2" size="13"></td>
    </tr>
    <tr>
      <td align="right">&#30005;&#35805;</td>
      <td><label for="textfield3"></label>
      <input name="phone" type="text" id="textfield3" size="13"></td>
    </tr>
    <tr>
      <td align="right">&#31867;&#22411;</td>
      <td><label for="user_type"></label>
        <select name="user_type" id="user_type">
          <option value="&#21830;&#23478;">&#21830;&#23478;</option>
          <option value="&#23458;&#26381;">&#23458;&#26381;</option>
          <option value="&#31649;&#29702;&#21592;">&#31649;&#29702;&#21592;</option>
      </select></td>
    </tr>
    <tr>
      <td align="right">&#21830;&#23478;ID</td>
      <td><label for="shop_id"></label>
      <select name="shop_id" id="shop_id">
       	<option value=""></option>
        <logic:present name="shop_list">
		<logic:iterate id="shop" name="shop_list" scope="request">
			 <option value="<bean:write name="shop" property="id" scope="page" format="#"/>"><bean:write name="shop" property="id" scope="page" format="#"/></option>
		</logic:iterate>
		</logic:present>
      </select></td>
    </tr>
    
    <tr>
      <td align="right"><input type="reset" name="button" id="button" value="&#37325;&#32622;"></td>
      <td align="center"><input type="submit" name="button2" id="button2" value="提交"></td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
</body>
</html>